package vo;

import java.util.Date;

/**
 * Admin entity. @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private String sex;
	private String bumen;
	private Date endate;
	private String phone;
	private String email;
	private String password;

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** full constructor */
	public Admin(String name, String sex, String bumen, Date endate,
			String phone, String email, String password) {
		this.name = name;
		this.sex = sex;
		this.bumen = bumen;
		this.endate = endate;
		this.phone = phone;
		this.email = email;
		this.password = password;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBumen() {
		return this.bumen;
	}

	public void setBumen(String bumen) {
		this.bumen = bumen;
	}

	public Date getEndate() {
		return this.endate;
	}

	public void setEndate(Date endate) {
		this.endate = endate;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}